package grafica;

import java.awt.Color;
import java.awt.Graphics;

import modulo.Roccia;
import vista.Drawable;

public abstract class RocciaGrafica extends Roccia implements Drawable {

	public RocciaGrafica(int x, int y, int width, int height) {
		super(x, y, width, height);
	}

	protected abstract void disegna(Graphics g);

	@Override
	public void draw(Graphics g) {
		g.setColor(Color.DARK_GRAY);
		disegna(g);
	}

}